<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Index extends MY_Luckydog
{
	public function __construct()
	{
		parent::__construct();
        $login_status = $this->login_status = $this->check_login_status();
        if (empty($login_status)){
            header("Location:login");
        }
	}
    public function index()
    {
                
        $login_status = $this->check_login_status();
        if ($login_status == FALSE){
            header("Location:login");
        }else{
        	 $this->load->view("/luckydog/index");
        }
    }
}
/* End of file index.php */
/* Location: ./application/controllers/luckydog/index.php */
